package com.frejoys.common.vo.admin;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class AuthGroupVo {

    // id
    @Schema(type = "Integer", name = "id", description = "id", required = true, defaultValue = "1")
    private Integer id;

    // 名称
    @Schema(type = "String", name = "name", description = "名称", required = true, defaultValue = "1")
    private String name;

    // 权限
    @Schema(type = "String", name = "rules", description = "权限", required = true, defaultValue = "1")
    private String rules;

    // 父id
    @Schema(type = "Integer", name = "pid", description = "父id", required = true, defaultValue = "1")
    private Integer pid;

    // 层级关系
    @Schema(type = "String", name = "path", description = "层级关系", required = true, defaultValue = "1")
    private String path;

    // 类型：1总管理平台，2商家管理平台，3代理人管理平台
    @Schema(type = "Integer", name = "type", description = "类型", required = true, defaultValue = "1")
    private Integer type;

    @Schema(type = "Integer", name = "status", description = "状态：0无效，1有效", required = true, defaultValue = "1")
    private Integer status;

}
